package com.edu.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class FallbackController {
    @RequestMapping("/fallback")
    public String fallback() {
        //403：发送的请求被服务器拒绝
        return "403,Gateway触发了熔断降级方法";
    }
}